/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package zdsoft.nbfsc;

import org.junit.Assert;
import org.junit.Test;

import sense.vitality.client.SenseClient;
import sense.vitality.protocol.Stuff;

/**
 *
 * @author Administrator
 */
public class ClientCall {
	 @Test
     public void testSend() {
        SenseClient sc = SenseClient.instance("192.168.34.48",9880);
        Stuff req = sc.instanceRequest("LoginTask");
        Param param = new Param();
        param.setActorId("pzl");
        req.setTargetObject(param);
        Stuff resp = sc.send(req);
        Assert.assertNotNull(resp);
    }
}
